package com.ruoyi.kis.service;

import com.ruoyi.kis.domain.*;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface IKisService {
    List<IcItems> queryItems(Date fLastUpdateTime);

    Date queryCurrentTime(String tableName);
    void updateCurrentTime(Map<String,Object> params);
//
//    List<PoInStock> queryPoinStock(Date poInStockTime);

    List<OutSourceEntryF> queryOutSourceInWareOrder();

    List<ProductStoreF> queryProdStore();

    List<MaterialRequisiteF> queryMaterialRequisiteF();
    List<MaterialRequisiteF> queryMaterialRequisiteF_NX();
    List<OutboundDelveryOrderF> queryOutboundDelveryOrderF(Date orderTime);

    List<TransferOrderF> queryTransferOrderF();

    List<IcItems> queryICITEMS(Date orderTime);

    List<DispatchOrderF> queryDispatchOrder();

    Map saveOsInWareOrder(OsInWareOrderF osInWareOrderF);

    /**
     * 更新kis单据状态
     * @param fInterID
     */
    int updateKisICStockBillFlag(String fInterID,String kisFlag);
    int updateKisPOInstockFlag(String fInterID,String kisFlag);

    /**
     * 生产入库单反馈
     * @param sclkdFPo
     * @return
     */
    Map saveProdStore(SclkdFPo sclkdFPo);
    Map updateProdStore(SclkdFPo sclkdFPo);

    Map updateLldFeedBack(MaterialRequisiteF materialRequisiteF);
    Map updateLldReverseFeedBack(MaterialRequisiteF materialRequisiteF);

    Map saveLldFeedBackReverse(MaterialRequisiteF materialRequisiteF);

    Map insertXsckd(DispatchOrderF dispatchOrderF);

    List<ZjdbdF> queryZjdbd();

    @Deprecated
    int insertZjdbdFeedBack(ZjdbdF zjdbdF);

    List<PdResultF> queryPd();

    Map<String, Object> savePdStore(PdResultF pdResultF);

    int saveZxckFeedBack(ZxckF zxckF);

    int saveZxrkFeedBack(ZxrkF zxrkF);

    List<TltzdF> querytltzdF();

    List<ThtzdF> querythtzdF();

    int updateKisSEOutStockFlag(String fInterID,String kisFlag);
    MaterialRequisiteF querySctldF();

    Map updateZjdbd(ZjdbdF zjdbdF);


}
